import request from '@/utils/request'

// 查询日志列表
export function listLogs(query) {
    return request({
        url: '/system/logs',
        method: 'get',
        params: query
    })
}

// 查询单条日志
export function getLogs(id) {
    return request({
        url: '/system/logs/' + id,
        method: 'get'
    })
}

// 查询单条日志
export function addLogs(data) {
    return request({
        url: '/system/logs',
        method: 'post',
        data: data
    })
}